package com.winit.iwm.storage.dao;

import com.winit.iwm.storage.entity.User;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * Created by jianke.zhang on 2017/4/20.
 */
public interface UserRepository extends MongoRepository<User, String> {

    User findByName(String name);
}
